#!/bin/bash
if [ "$1" == "cache" ]; then
echo "Processor is:"
grep processor /proc/cpuinfo | wc -l
elif [ "$1" == "speed" ]; then
echo "Speed is"
grep speed /proc/cpuinfo | wc -l
fi
